home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / PInterfaces / GoggleSprocket.p < prev    next >
Encoding:
Text File  |  1997-08-12  |  1.8 KB  |  78 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        GoggleSprocket.p
  3.  
  4.      Contains:    Games Sprockets: GoggleSprocket interfaces
  5.  
  6.      Version:    Technology:    Goggle Sprocket 1.1
  7.                  Release:    Universal Interfaces 3.0.1
  8.  
  9.      Copyright:    © 1996-1997 by Apple Computer, Inc., all rights reserved.
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. }
  18. {$IFC UNDEFINED UsingIncludes}
  19. {$SETC UsingIncludes := 0}
  20. {$ENDC}
  21.  
  22. {$IFC NOT UsingIncludes}
  23.  UNIT GoggleSprocket;
  24.  INTERFACE
  25. {$ENDC}
  26.  
  27. {$IFC UNDEFINED __GOGGLESPROCKET__}
  28. {$SETC __GOGGLESPROCKET__ := 1}
  29.  
  30. {$I+}
  31. {$SETC GoggleSprocketIncludes := UsingIncludes}
  32. {$SETC UsingIncludes := 1}
  33.  
  34. {$IFC UNDEFINED __TYPES__}
  35. {$I Types.p}
  36. {$ENDC}
  37. {$IFC UNDEFINED __EVENTS__}
  38. {$I Events.p}
  39. {$ENDC}
  40.  
  41.  
  42. {$PUSH}
  43. {$ALIGN MAC68K}
  44. {$LibExport+}
  45.  
  46. {$IFC TARGET_CPU_PPC }
  47. {
  48. ********************************************************************************
  49. ** constants & data types
  50. ********************************************************************************
  51. }
  52.  
  53. TYPE
  54.     GSpEventProcPtr = ProcPtr;  { FUNCTION GSpEvent(VAR inEvent: EventRecord): BOOLEAN; C; }
  55.  
  56. {
  57. ********************************************************************************
  58. ** prototypes for application level calls
  59. ********************************************************************************
  60. }
  61. { general }
  62. FUNCTION GSpStartup(inReserved: UInt32): OSStatus; C;
  63. FUNCTION GSpShutdown(inReserved: UInt32): OSStatus; C;
  64. { configuration }
  65. FUNCTION GSpConfigure(inEventProc: GSpEventProcPtr; VAR inUpperLeft: Point): OSStatus; C;
  66. {$ENDC}  {TARGET_CPU_PPC}
  67.  
  68. {$ALIGN RESET}
  69. {$POP}
  70.  
  71. {$SETC UsingIncludes := GoggleSprocketIncludes}
  72.  
  73. {$ENDC} {__GOGGLESPROCKET__}
  74.  
  75. {$IFC NOT UsingIncludes}
  76.  END.
  77. {$ENDC}
  78.